package game.data.structure.role{
	import flash.display.Bitmap;
	import flash.display.BitmapData;
	import flash.geom.Point;
	
	import game.data.structure.animation.Animation;
	
	/**
	 * 角色数据基类
	 * 
	 * 本类是角色及怪物的数据基类
	 * 
	 * 目前暂时就想到这几个属性，待慢慢添加
	 *  
	 * @author Sunix
	 * 
	 */	
	public class RoleData{
		
		private var _name:String = "noName";   //角色名称，默认值为“noName”;
		private var _animation:Animation;       //动作数据
		private var _bitmapData:BitmapData;     //资源位图源
		
		
		public function RoleData(){
			
		}

		public function get bitmapData():BitmapData
		{
			return _bitmapData;
		}

		public function set bitmapData(value:BitmapData):void
		{
			_bitmapData = value;
		}

		public function get animation():Animation
		{
			return _animation;
		}

		public function set animation(value:Animation):void
		{
			_animation = value;
		}

		public function get name():String
		{
			return _name;
		}

		public function set name(value:String):void
		{
			_name = value;
		}

	}
}